﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebIocDemo.Services
{
    public class DateTimeMakerService
    {
        public NumberMakerService Number { get; set; }
        private DateTime m_time;
        public DateTimeMakerService()
        {
            m_time = DateTime.Now;
        }
        public DateTime Create() { return m_time; }

        public string Test()
        {
            return m_time.ToString() + "------" + Number.Create();
        }
    }
}
